﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Pro_Published.aspx.cs" Inherits="wjzx_Pro_Published" EnableEventValidation="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     <link href="img/admin_css.css" rel="stylesheet" type="text/css" />
</head>
  <SCRIPT>
function loadThreadFollow(t_id,b_id){
	var targetImg =eval("document.all.followImg" + t_id);
	var targetDiv =eval("document.all.follow" + t_id);
	if ("object"==typeof(targetImg)){
		if (targetDiv.style.display!='block'){
			targetDiv.style.display="block";
			
		}else{
			targetDiv.style.display="none";
		}
	}
}
</SCRIPT>
<body>
    <form id="form1" runat="server">
    <div>
         
    <table width="100%" border="0" align="left" cellpadding="0" cellspacing="1" bgcolor="#d4d0c8">
  <tr>
    <td height="35" colspan="2" bgcolor="#CBC5BC"   style="padding-left:30px; font-size:14px;"><strong>--发布信息--</strong></td>
  </tr>
  <tr>
    <td width="12%" height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span style="color:Red">*</span>产品分类：</td>
    <td width="88%" align="left" bgcolor="#FBFBF9" class="xhx">
    
     <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" AppendDataBoundItems="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="120px">
     <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>
    <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" AppendDataBoundItems="True" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged" Width="120px">
    <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>
    <asp:DropDownList ID="DropDownList3" runat="server" Width="120px" AppendDataBoundItems="True">
    <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>   
           </td>
  </tr>
        
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span style="color:Red">*</span>类型：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
        <asp:DropDownList ID="DropDownList4" runat="server">
        <asp:ListItem Value="0" Selected>请选择</asp:ListItem>
            <asp:ListItem Value="1">供应</asp:ListItem>
            <asp:ListItem Value="2">采购</asp:ListItem>
            <asp:ListItem Value="3">代理</asp:ListItem>
            <asp:ListItem Value="4">合作</asp:ListItem>
            <asp:ListItem Value="5">招投标</asp:ListItem>
            <asp:ListItem Value="6">融资</asp:ListItem>
            <asp:ListItem Value="7">厂店租售</asp:ListItem>
            <asp:ListItem Value="8">其它</asp:ListItem>
      </asp:DropDownList></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span style="color:Red">*</span>标题：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <asp:TextBox ID="TextBox1" runat="server" Width="272px"></asp:TextBox>
        </td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">产品图片：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx"><asp:TextBox ID="txtProImg" runat="server" Width="169px"></asp:TextBox><SPAN id=followImg1 style="CURSOR: hand"  onclick=loadThreadFollow(1,5)>上传图片↓</SPAN></td>
  </tr>
    <tr  id=follow1 style="DISPLAY: none">
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"></td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">


    <asp:FileUpload ID="FileUpload1" runat="server" Width="247px"  Height="22" />
      <asp:Button ID="UpImg" runat="server" Text="上传" OnClick="UpImg_Click"/>        </td>
  </tr>

  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">产品数量：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
        <asp:TextBox ID="TextBox2" runat="server" Width="45px" Text="1" onkeyup="javascript:if(isNaN(document.all['TextBox2'].value)){alert('请输入有效的数值');this.value='';return false;}"></asp:TextBox>
      0表示长期大量</td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">包装说明：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <asp:TextBox ID="TextBox3" runat="server" Width="169px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">价格说明：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <asp:TextBox ID="TextBox4" runat="server" Width="169px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">产品规格：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <asp:TextBox ID="TextBox5" runat="server" Width="169px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span style="color:Red">*</span>有效期至：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
                   
       <asp:DropDownList ID="DropDownList5" runat="server">
        <asp:ListItem Value="0" Selected>请选择</asp:ListItem>
            <asp:ListItem Value="7">7天</asp:ListItem>
            <asp:ListItem Value="15">15天</asp:ListItem>
            <asp:ListItem Value="30">30天</asp:ListItem>
            <asp:ListItem Value="60">60天</asp:ListItem>
            <asp:ListItem Value="90">90天</asp:ListItem>
            <asp:ListItem Value="180">180天</asp:ListItem>
            <asp:ListItem Value="360">360天</asp:ListItem>
      </asp:DropDownList>
     
    </td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">详细介绍：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <%--  <ftb:FreeTextBox id="ftbContent" runat="server"></ftb:FreeTextBox>--%>
        <asp:TextBox ID="ftbContent" runat="server" Height="130px" Width="558px" TextMode="MultiLine"></asp:TextBox>      </td>
  </tr>
  
   <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">审核：</td>
    <td bgcolor="#FAFAFA">&nbsp;<asp:CheckBox ID="CheckBox1" runat="server" /></td>
  </tr>
  
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee">&nbsp;</td>
    <td align="left" bgcolor="#FBFBF9">&nbsp;
      <asp:Button ID="Button1" runat="server" Text="确认执行" OnClick="Button1_Click" /></td>
  </tr>
</table></div>
    </form>
</body>
</html>
